Skip to content

Conversation

@RGO230
Copy link
Contributor

@RGO230 RGO230 commented Nov 19, 2025

No description provided.

@sonarqubecloud
Copy link

@DenTray DenTray requested a review from Copilot November 24, 2025 02:17
Copilot finished reviewing on behalf of DenTray November 24, 2025 02:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the type key from stack trace output in error messages. The type field (which shows the call type like -> for instance methods or :: for static methods) is removed from trace entries before formatting, simplifying the error output.

  • Modified the getErrorPlace() method to filter out the type key from stack traces
  • Updated 48 test fixture files to reflect the removal of the type=-> line from error trace output

Reviewed changes

Copilot reviewed 43 out of 43 changed files in this pull request and generated no comments.

File Description
src/Services/SwaggerService.php Added Arr::forget() call to remove the 'type' key from trace entries before formatting
tests/fixtures/SwaggerServiceTest/*.html Updated all 48 fixture files to remove the type=-> line from expected error output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DenTray DenTray merged commit b630dda into master Nov 24, 2025
12 checks passed
@DenTray DenTray deleted the 163-modify-500-code-error-response-page branch November 24, 2025 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants